<?php if(!defined('PUBLIC_DIR')) die('No Access!');

Cnamespace('System');
interface iDir {
	public function __construct($dir);

	public function Refresh();
	public function ChangeDir($dir);

	public function GetPath();
	public function GetDirname();
	public function GetDirpath();

	public function GetSize();
	public function GetDate();
	public function GetMode($type = 'Create');
	public function GetOwner();

	public function Open();
	public function GetFile();
	public function GetFiles();
	public function GetDir();
	public function GetDirs();
	public function GetObject();
	public function GetObjects();
	public function Close();

	public function IsExits();
	public function IsRedable();
	public function IsWritable();
	public function CheckAccess();

	public function Create();
	public function Move();
	public function Rename();
	public function Copy();
	public function Delete();
}